package com.apobates.jforum.grief.aurl.parser;

import com.apobates.jforum.grief.aurl.core.AUrlMetaBuilder;
import com.apobates.jforum.grief.aurl.parser.AUrlParserException;

/**
 * URL字符串的解析器
 */
@FunctionalInterface
public interface AUrlParser {
    /**
     * 解析到构建类
     * @param url
     * @return
     * @throws AUrlParserException
     */
    AUrlMetaBuilder parse(String url) throws AUrlParserException;
}
